

#[cfg(test)]
mod test {

    use std::collections::HashMap;
    use serde_json::Value;
    #[test]
    fn from_and_to(){
        let json = r#"{"hello":"world"}"#;
        let map: HashMap<String, Value> = serde_json::from_str(&json).unwrap();
        //println!("from_and_to => deserialzed = {:?}", map);

    
        let to_json = serde_json::to_string(&map).unwrap();
        assert_eq!(json, to_json);
        //println!("from_and_to => serialized = {}", to_json);
    }
}
